#pragma once
#ifndef __ERR_H__
#define __ERR_H__

typedef enum _ERR_CODE {
	ERR_SUCCESS,
	ERR_ENUM_PROCESS_MODULES_FAILED,
	ERR_SIZE_TOO_SMALL,
	ERR_MOD_NAME_NOT_FOUND,
	ERR_MOD_QUERY_FAILED,
	ERR_CREATE_FILE_FAILED,
	ERR_CREATE_FILE_MAPPING_FAILED,
	ERR_CREATE_FILE_MAPPING_ALREADY_EXISTS,
	ERR_MAP_FILE_FAILED,
	ERR_MEM_DEPROTECT_FAILED,
	ERR_MEM_REPROTECT_FAILED,
	ERR_TEXT_SECTION_NOT_FOUND,
	ERR_FILE_PATH_QUERY_FAILED
} ERR_CODE;

extern LPSTR errStrings[];

#endif // !__ERR_H__
